package cn.edu.cupk.AbstractFactoryPattern;

public class Factory2 extends AbstractFactory {
    @Override
    public AbstractProductA createProductA(){
        return new ConcreteProductA2();
    }
    @Override
    public AbstractProductB createProductB(){
        return new ConcreteProductB2();
    }
}
